<?php
/**
 * Created by PhpStorm.
 * User: alexey
 * Date: 7/29/14
 * Time: 8:05 PM
 */

include_once("functions/utils/ImageUtil.php");

if ($_GET['generate'] == 'ok') {

  \util\ImageUtil::createAllFilesPreview('fly_img', 'preview/fly_img_topic_preview', 500);
//  \util\ImageUtil::createAllFilesPreview('news_img', 'preview/news_img_preview', 300);
//  \util\ImageUtil::createAllFilesPreview('gallery', 'preview/gallery_preview', 300);
//  \util\ImageUtil::createAllFilesPreview('fly_img', 'preview/fly_main_img_preview', 300);
//  \util\ImageUtil::createAllFilesPreview('topic_img', 'preview/topic_img_preview', 200);
//  \util\ImageUtil::createAllFilesPreview('upload', 'preview/upload_preview', 300);
//  \util\ImageUtil::createAllFilesPreview('user_img', 'preview/user_img_preview', 250);
}

